import request from '@/plugin/axios'
import { sysPath } from '@api/sys.common'

export function findProductCouponCpListByPage(params){
    return request({
        url: sysPath+'/hx-mart/api/v1/coupon/productCouponCp/findProductCouponCpListByPage',
        method: 'post',
        params
    })
}
export function findProductCouponCp(params){
    return request({
        url: sysPath+'/hx-mart/api/v1/coupon/productCouponCp/findProductCouponCp',
        method: 'post',
        params
    })
}
export function saveProductCouponCp(params){
    return request({
        url: sysPath+'/hx-mart/api/v1/coupon/productCouponCp/saveProductCouponCp',
        method: 'post',
        data: params
    })
}
export function submitProductCouponCp(params){
    return request({
        url: sysPath+'/hx-mart/api/v1/coupon/productCouponCp/submitProductCouponCp',
        method: 'post',
        params
    })
}
export function saveAndSubmitPurchaseOrder(params){
    return request({
        url: sysPath+'/hx-mart/api/v1/coupon/productCouponCp/saveAndSubmitPurchaseOrder',
        method: 'post',
        data: params
    })
}
export function auditProductCouponCp(params){
    return request({
        url: sysPath+'/hx-mart/api/v1/coupon/productCouponCp/auditProductCouponCp',
        method: 'post',
        params
    })
}
export function confirmDeliver(params){
    return request({
        url: sysPath+'/hx-mart/api/v1/coupon/productCouponCp/confirmDeliver',
        method: 'post',
        params
    })
}
export function deleteProductCouponCp(params){
    return request({
        url: sysPath+'/hx-mart/api/v1/coupon/productCouponCp/deleteProductCouponCp',
        method: 'post',
        params
    })
}